package com.googlecode.xpathproxy.conversion;

/**
 * @author Ray Krueger
 */
public abstract class AbstractConverter<T> implements Converter<T> {

    public boolean supportsOutputType(Class cls) {
        return getSupportedType().isAssignableFrom(cls);
    }

    protected abstract Class<?> getSupportedType();
}
